from django.conf.urls import url, include
from rest_framework.routers import DefaultRouter

from . import views

router = DefaultRouter()
router.register(r'infos',views.AreasViewSet,base_name='Areas')

urlpatterns = [
    # url(r'^infos/$',views.AreasProviences.as_view()),
    # url(r'^infos/(?P<id>\d{6})/$',views.AreasSubCities.as_view()),
]

urlpatterns += router.urls